﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Lib.Paging;
using SDT.Model;
using System.Web.Mvc;
using System.Web.UI.WebControls;
using SDT.Admin.Properties;

namespace SDT.Admin.ViewModels
{
    /// <summary>
    /// Author: Takamaru Nguyen
    /// Date: 13/06/2011
    /// </summary>
    public class ProductViewModel
    {
        public IPagedList<Product> Products{get;set;}

        public List<ProductCategory> Categories { get; set; }
        public int FilterCategoryID { get; set; }
        public int FilterProductTypeID { get; set; }
        public int FilterProductHolidayID { get; set; }
        public string Keyword;
       
        public string ImageRootUrl;
        // Inserted by Vietlv (26/07/2011)
        
    }

    /// <summary>
    /// Author: Takamaru Nguyen
    /// Date: 18/06/2011
    /// </summary>
    public class ProductInputModel
    {
        public List<ProductCategory> Categories {get;set;}
        public List<string> ListFile { get; set; }
        public Product Product { get; set; }

        public Dictionary<int, string> ProductExpires { get; set; }
        public string ImageRootUrl { get; set; }
        /// <summary>
        /// Cho nhiều ảnh
        /// </summary>
        public string ImageRootUrls {get;set;}
        
        
    }
}
